﻿
Imports System.Configuration

Namespace Configuration

    Public Class ServiceConfiguration
        Inherits System.Configuration.ConfigurationSection

        <ConfigurationProperty("connectionName", IsRequired:=True)> _
        Public Property ConnectionName As String
            Get
                Return CStr(Me("connectionName"))
            End Get
            Set(ByVal value As String)
                Me("connectionName") = value
            End Set
        End Property

        <ConfigurationProperty("serviceDll", IsRequired:=True)> _
        Public Property ServiceDll As String
            Get
                Return CStr(Me("serviceDll"))
            End Get
            Set(ByVal value As String)
                Me("serviceDll") = value
            End Set
        End Property

        <ConfigurationProperty("buchungServiceType", IsRequired:=True)> _
        Public Property BuchungServiceType As String
            Get
                Return CStr(Me("buchungServiceType"))
            End Get
            Set(ByVal value As String)
                Me("buchungServiceType") = value
            End Set
        End Property

        <ConfigurationProperty("buchungPositionenServiceType", IsRequired:=True)> _
        Public Property BuchungPositionenServiceType As String
            Get
                Return CStr(Me("buchungPositionenServiceType"))
            End Get
            Set(ByVal value As String)
                Me("buchungPositionenServiceType") = value
            End Set
        End Property

        <ConfigurationProperty("fileAttachmentServiceType", IsRequired:=True)> _
        Public Property FileAttachemntServiceType As String
            Get
                Return CStr(Me("fileAttachmentServiceType"))
            End Get
            Set(ByVal value As String)
                Me("fileAttachmentServiceType") = value
            End Set
        End Property

        <ConfigurationProperty("kategorienServiceType", IsRequired:=True)> _
        Public Property KategorienServiceType As String
            Get
                Return CStr(Me("kategorienServiceType"))
            End Get
            Set(ByVal value As String)
                Me("kategorienServiceType") = value
            End Set
        End Property

        <ConfigurationProperty("kontoauszugServiceType", IsRequired:=True)> _
        Public Property KontoauszugServiceType As String
            Get
                Return CStr(Me("kontoauszuServiceType"))
            End Get
            Set(ByVal value As String)
                Me("kontoauszugServiceType") = value
            End Set
        End Property

        <ConfigurationProperty("statusServiceType", IsRequired:=True)> _
        Public Property StatusServiceType As String
            Get
                Return CStr(Me("statusServiceType"))
            End Get
            Set(ByVal value As String)
                Me("statusServiceType") = value
            End Set
        End Property

        <ConfigurationProperty("vertragServiceType", IsRequired:=True)> _
        Public Property VertragServiceType As String
            Get
                Return CStr(Me("vertragServiceType"))
            End Get
            Set(ByVal value As String)
                Me("vertragServiceType") = value
            End Set
        End Property

    End Class

End Namespace
